#include <iostream>
#include <cstring>
using namespace std;

class Person
{
  char Name[10];
  char Sex[10];
  int Age;

public:
  void Register(char *name, int age, char *sex);
  void ShowMe();
};



class Teacher:public Person
{
  private:
    char Dept[20];
    int Salary;

  public:
    Teacher(char *name,int age,char *sex,char *dept,int salary);
void Show() //显示新增数据成员
};

class Student:public Person
{
  char ID[12];
char Class[12];
public:
Student(char *name,int age,char *sex,char *ID,char *Class);
void Show()//显示新增数据成员
}

class Graduate:public Person,public Student
{
  
}